home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
vfy_20.zip
/
TRAPDOOB.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-09
|
2KB
|
51 lines
@echo off
cls
rem TRAPDOOB.BAT TRADE WARS 2002 v1.03
c:
rem %0 = trapdoor.bat, %1 = port#, %2 = baud, %3 = first name, %4 = last name,
rem %5 = security, %6 = ansi(Y/N), %7 = start directory, %8 = CARRIER or LOCAL
rem ************************************************************************
rem * Security to enter this batch file is 5. IF the caller's security is *
rem * 6 through 11, VERIFY! is skipped, and the game is accessed. IF the *
rem * caller's security is 5, caller is offered to be verified. IF the *
rem * returned ERRORLEVEL is 0 (local call), then caller is verified and *
rem * still on line. MHAPI 5 will reset his security on exit of the Trap *
rem * Doors and access to the game is authorized. *
rem * *
rem ************************************************************************
CD\MEGAHOST\2002v103
IF %5 == 6 GOTO RUN
IF %5 == 7 GOTO RUN
IF %5 == 8 GOTO RUN
IF %5 == 9 GOTO RUN
IF %5 == 10 GOTO RUN
IF %5 == 11 GOTO RUN
modemtxt %1 %3 %4 2002v103.msg
COPY C:\MEGAHOST\DATA\DOOR.SYS
VERIFY! -MEGAHOST
IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 GOTO SET
GOTO END
:SET
mhapi 5 6
:RUN
rem Create CALLINFO.BBS
callinfo %1 %2 %3 %4 %5 %6 %7 %8
echo Loading Trade Wars 2002 v1.03! Good Luck!>> com2:
echo Loading Trade Wars 2002 v1.03! Good Luck!
rem ***********************************************************
echo *** Entering Trade Wars 2002 v1.03 *** >> c:\MEGAHOST\DATA\MEGAHOST.LOG
tw2002 -WILD
goto end
rem ***********************************************************
:end